﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.ObjectBuilder2;

namespace IoCNamed.UnityNameResolver
{
    internal class ResolveNamePolicyConst : IResolveNamePolicy
    {
        protected readonly string Name;

        public ResolveNamePolicyConst(string name)
        {
            Name = name;
        }

        public string ResolveName(NamedTypeBuildKey buildKey)
        {
            return Name;
        }
    }
}
